/*
 * @Author: humengchuan 531537052@qq.com
 * @Date: 2024-06-26 15:30:58
 * @LastEditors: humengchuan 531537052@qq.com
 * @LastEditTime: 2024-06-27 15:57:12
 * @FilePath: \project\node-project\website-admin\src\api\index.ts
 * @Description: 
 */
import httpMethods from "@/utils/httpMethods";


export const getList = (params:any) => {
  return httpMethods.get('/api/list', params)
}

export const registerApi = (params:any) => {
  return httpMethods.post('/users/api/register', params)
}

export const loginApi = (params:any) => {
  return httpMethods.post('/admin/user/login', params)
}
export const getUserList = (params:any) => {
  return httpMethods.get('/admin/user/list', params)
}